Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.7
|
Leadtools.Caching Assembly > Leadtools.Caching Namespace > ObjectCache Class > Add Method : Add<T>(CacheItem<T>,CacheItemPolicy) Method |
public virtual bool Add<T>( CacheItem<T> item, CacheItemPolicy policy )
'Declaration
Public Overloads Overridable Function Add(Of T)( _ ByVal item As CacheItem(Of T), _ ByVal policy As CacheItemPolicy _ ) As Boolean
'Usage
Dim instance As ObjectCache Dim item As CacheItem(Of T) Dim policy As CacheItemPolicy Dim value As Boolean value = instance.Add(Of T)(item, policy)
public<T> boolean add(CacheItem<T> item, Class<?> classOfT, CacheItemPolicy policy)
public: virtual bool Addgeneric<typename T> ( CacheItem<T^>^ item, CacheItemPolicy^ policy )